package com.googlecode.jawb.tests.saving;

import com.googlecode.jawb.BinaryType;
import com.googlecode.jawb.clues.SetArray;
import com.googlecode.jawb.clues.SetIgnored;
import com.googlecode.jawb.clues.SetType;

public class Saving_B {
	@SetIgnored
	private int length = 3;
	
	@SetType(type = BinaryType.OBJECT)
	@SetArray(dynamicLength = "length")
	private Saving_C[] buffer = new Saving_C[3];
	
	public Saving_B() {
		buffer[0] = new Saving_C((short) 0xAA);
		buffer[1] = new Saving_C((short) 0xBB);
		buffer[2] = new Saving_C((short) 0xCC);
	}
}
